﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Drawing;

namespace Card.Web.ImageHelper
{
    public class Helper
    {
        public static Font GetFont(string familyCode, float size)
        {
            //Entity.SystemConfig config = BLL.SystemConfigManager.GetEntity(CONST.SYSTEM_CONFIG_ENTRY.FONT_FAMILY, familyCode, null);
            BAF.Entity.LookupValue config = BAF.BLL.LookupValueManager.GetEntity(CONST.LOOKUP_TYPE.FONT_FAMILY, familyCode, null);
            return new Font(config.Value, size, FontStyle.Bold);
        }
    }
}
